<!--
 * @Author: 淹死De鱼5 happyjing5@sina.cn
 * @Date: 2024-03-15 21:56:56
 * @LastEditors: 淹死De鱼5 happyjing5@sina.cn
 * @LastEditTime: 2024-04-14 23:18:41
 * @FilePath: \vue-ruoyi-drp\src\views\reward\contact\components\detail.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!--  -->
<template>
  <el-dialog v-bind="$attrs" title="详情" :visible.sync="visibleComputed" width="750px" append-to-body>
    <el-descriptions border>
      <el-descriptions-item label="发布人">{{ detail.introNickName }}</el-descriptions-item>
      <el-descriptions-item label="项目名称">{{ detail.contactName }}</el-descriptions-item>
      <el-descriptions-item label="介绍人">{{ detail.postedNickName }}</el-descriptions-item>
      <el-descriptions-item label="项目时间开始">{{ detail.contactStartTime }}</el-descriptions-item>
      <el-descriptions-item label="项目时间结束">{{ detail.contactEndTime }}</el-descriptions-item>
      <el-descriptions-item label="欠款方">{{ detail.contactDebtor }}</el-descriptions-item>
      <el-descriptions-item label="被欠款公司">{{ detail.contactCreditor }}</el-descriptions-item>
      <el-descriptions-item label="联系人">{{ detail.contactPerson }}</el-descriptions-item>
      <el-descriptions-item label="联系人手机号">{{ detail.contactPhone }}</el-descriptions-item>
      <el-descriptions-item label="联系人身份证号">{{ detail.contactIdNumber }}</el-descriptions-item>
      <el-descriptions-item label="地区">{{ detail.regionAllName }}</el-descriptions-item>
      <el-descriptions-item label="签约时间">{{ detail.contactSigningTime }}</el-descriptions-item>
      <el-descriptions-item label="是否诉讼">
        <dict-tag :options="dict.type.self_yes_no" :value="detail.contactIsLitigation"/>
        <!-- {{ detail.contactIsLitigation }} -->
      </el-descriptions-item>
      <el-descriptions-item label="资金来源">
        <!-- {{ detail.contactFundingSource }} -->
        <dict-tag :options="dict.type.sys_funding_type" :value="detail.contactFundingSource"/>
      </el-descriptions-item>
      <el-descriptions-item label="中标金额">{{ detail.contactBidAmount }}</el-descriptions-item>
      <el-descriptions-item label="审计金额">
        <dict-tag :options="dict.type.self_yes_no" :value="detail.contactIsAuditCompleted"/>
        <!-- {{ detail.contactAuditAmount }} -->
      </el-descriptions-item>
      <el-descriptions-item label="欠款金额">{{ detail.contactDebtAmount }}</el-descriptions-item>
      <el-descriptions-item label="是否完成审计">{{ detail.contactIsAuditCompleted }}</el-descriptions-item>
      <el-descriptions-item label="是否存在争议">
        <!-- {{ detail.contactIsControversial }} -->
        <dict-tag :options="dict.type.self_yes_no" :value="detail.contactIsControversial"/>
      </el-descriptions-item>
      <el-descriptions-item label="状态">
        <!-- {{ detail.contactStatus }} -->
        <dict-tag :options="dict.type.debts_task_status" :value="detail.contactStatus"/>
      </el-descriptions-item>
      <!-- <el-descriptions-item label="审核人">{{ detail.contactApprover }}</el-descriptions-item> -->
      <!-- <el-descriptions-item label="审核时间">{{ detail.contactApprovalTime }}</el-descriptions-item> -->
      <el-descriptions-item label="创建时间">{{ detail.createTime }}</el-descriptions-item>
      <el-descriptions-item label="情况说明">{{ detail.contactDescription }}</el-descriptions-item>
  </el-descriptions>
</el-dialog>
</template>

<script>
export default {
  dicts: ['self_yes_no', 'sys_funding_type', 'debts_task_status'],
  components: {},
  props: {
    visible: {
      type: Boolean,
      default: false
    },
    record: {
      type: Object,
      default: () => ({})
    }
  },
  data () {
    return {
    }
  },
  computed: {
    detail() {
      return this.record
    },
    visibleComputed: {
      get() {
       return this.visible;
      },
      set(value) {
        this.$emit('update:visible', value);
      }
    }
  },
  mounted() {},
  methods: {
    
  }
}
</script>
<style lang='scss' scoped>
</style>
